home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 21
/
AACD 21.iso
/
AACD
/
Utilities
/
EvenMore
/
Docs
/
Plugins.doc
< prev
Wrap
Text File
|
2001-05-01
|
2KB
|
71 lines
EVENMORE PLUGINS
********************************************************************
The plugins feature of EvenMore is currently not programmed, and
so you cannot write your own plugins for at as yet.
********************************************************************
Here is a brief description of the plugins available for EvenMore
guide2text.plugin
This will automatically detect if a file is an AmigaGuide
document, and if it is, convert it to text.
All text formatting will be accounted for, using ANSI ESC code
sequences.
--------------------------------------------------------------------
PROGRAMMING YOUR OWN PLUGINS
Here is a brief description of how to program your own plugins for
EvenMore. The plugin format for EvenMore is subject to change, so
I cannot be held responsible if your plugins don't function properly
in future versions of EvenMore. This is an WORK_IN_PROGRESS feature,
so changes WILL BE MADE!
Standard procedure types for plugins
Emp_init()
The initilization call of the plugin
Emp_info()
Returns a string of information which is displayed in the plugin
page of the information window.
--------------------------------------------------------------------
FILE IO PLUGIN
memory, length := Emp_init(memory, length)
This is the call made to the Init() procedure in the plugin.
It is called after the file has been loaded into memory, and
before any of the file parsing has been done on it.
<memory> is the start address of the raw file data
<length> is the length of the raw file data
NB: Length should be the last character in your new buffer,
not necessarily the end of the buffer.
You can if you wish, alter this buffer. Or, if you wish, create a
new buffer, and copy modified contents of the old buffer into
this new buffer, as long as you dispose the old buffer and return
the new memory address and new length of the buffer back to the
main program.